#pragma once 

#include <iostream>
#include <string>
using namespace std;

//加法任务
class Task
{
public:
    Task()
    {}
    Task(int a, int b)
        :_a(a), _b(b)
    {}
    void Excute()
    {
        _result = _a + _b;
    }
    string ResultTostring()
    {
        string ret;
        ret = to_string(_a) + "+" + to_string(_b) + "=" + to_string(_result);
        return ret;
    }
    string DebugTostring()
    {
        string ret;
        ret = to_string(_a) + "+" + to_string(_b) + "= ?";
        return ret;
    }
private:
    int _a;
    int _b;
    int _result;
};